﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class my_pubnews_preview : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string userid = Request["userid"].ToString();

            TUser oUser = new TUser(userid);
            oUser.Select();

            articletitle.InnerHtml = Request["articletitle"].ToString();
            authortime.InnerHtml = oUser.BigName + "&nbsp;" + System.DateTime.Today.ToString("yy-MM-dd");
            acontent.InnerHtml = Request["acontent"].ToString();
            //acontent.InnerHtml = HttpUtility.UrlDecode(Request["acontent"].ToString());
            //acontent.InnerHtml = HttpUtility.HtmlDecode(Request["acontent"].ToString());
            //acontent.InnerHtml = Server.UrlDecode(Request["acontent"].ToString());
            //acontent.InnerHtml = Server.HtmlDecode(Request["acontent"].ToString());
        }
    }
}
